<%--
  Created by IntelliJ IDEA.
  User: 风间琉璃
  Date: 2021/5/19
  Time: 20:21
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
  <head>
    <title>$Title$</title>
  </head>
  <body>
  <form action="FruitServlet?opr=upd&fruitid=${fruit.fruitId}" method="post">

    <table>
      <tr>
        <h1>水果详情</h1>
      </tr>
      <tr>
        <th>类别</th>
        <td><input type="text" name="type" id="type" value="${fruit.type}"></td>
      </tr>
      <tr>
        <th>品种</th>
        <td><input type="text" name="breed" id="breed" value="${fruit.breed}"></td>
      </tr>
      <tr>
        <th>产地</th>
        <td><input type="text" name="area" id="area" value="${fruit.area}"></td>
      </tr>
      <tr>
        <th>简介</th>
        <td><input type="text" name="brief" id="brief" value="${fruit.brief}"></td>
      </tr>
      <tr>
        <th>重量</th>
        <td><input type="text" name="weight" id="weight" value="${fruit.weight}"></td>
      </tr>
      <tr>
        <th>价钱</th>
        <td><input type="text" name="price" id="price" value="${fruit.price}"></td>
      </tr>
      <tr>
        <td>
          <button type="submit">提交</button>
        </td>
      </tr>
    </table>
  </form>
  </body>
</html>
